package com.ml.mall.bean.res.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by kyyang on 2021/5/29 21:01
 */
@Data
@ApiModel("卖家订单")
public class OrderMQueryPageRes {

    private Long id;

    private Long oid;

    private String supplierOid;

    @ApiModelProperty("订购公司名称")
    private String purchaseCompanyName;

    @ApiModelProperty("卖家公司名称")
    private String subblierCompanyName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createAt;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("接收日期")
    private Date deliveryAt;

    private int state;

    @ApiModelProperty("运费")
    private BigDecimal deliveryFee;

    @ApiModelProperty("订单总额")
    private BigDecimal subFee;

    @ApiModelProperty("订单总额")
    private BigDecimal subOriFee;

    @ApiModelProperty("优惠金额")
    private BigDecimal couponMoney;


}
